package com.example.hotel.repo;

import org.springframework.data.jpa.repository.JpaRepository;
import com.example.hotel.entity.Room;
import java.util.Optional;

public interface RoomRepository extends JpaRepository<Room, Long> {
    Optional<Room> findByNumber(String number);
}
